# -*- coding: utf-8 -*-
class scanningPage():
    def __init__(self,driver):
        self.driver=driver
# 菜单团险业务
    def groupBtn(self):
        return self.driver.find_element_by_xpath("//*[@id='menuClass1']/ul/li[2]/a")
# 新单管理
    def new(self):
        return self.driver.find_element_by_xpath("//*[@id='4']")
    # 有扫描计划录入
    def btnscanning(self):
        return self.driver.find_element_by_xpath('//*[@id="huadong1"]/dl[1]/dt/b/a')
    def inpGrpPropNo(self):
        return self.driver.find_element_by_xpath('//*[@id="GrpPropNo"]')
    def btnQuery(self):
        return self.driver.find_element_by_xpath('//*[@id="divQueryES"]/input[1]')
    def btnSumbit(self):
        return self.driver.find_element_by_xpath('//*[@id="divQueryES"]/input[2]')
    def radTarget(self):
        return self.driver.find_element_by_xpath('//*[@id="ContPlanListGridSel0"]')
    def radTarget1(self):
        return self.driver.find_element_by_xpath('//*[@id="SelfContPlanListGridSel0"]')
    def btngoin(self):
        return self.driver.find_element_by_xpath('//*[@id="divSelfContPlanResult"]/input[1]')
    # 弹出框——确定按钮
    def Submit(self):
        return self.driver.find_element_by_xpath("//*[@id='butSubmit']")
    def btninsurancepolicytype(self):
        return self.driver.find_element_by_xpath('//*[@id="insurancepolicytype"]')
    def seccodeselect(self):
        return self.driver.find_element_by_xpath('//*[@id="codeselect"]')
    def inpPolicyAppDate(self):
        return self.driver.find_element_by_xpath('//*[@id="PolicyAppDate"]')
    def btnSave(self):
        return self.driver.find_element_by_xpath('//*[@id="divPeriod"]/input[1]')
    def btnPlanifmSave(self):
        return self.driver.find_element_by_xpath('//*[@id="divInfo4"]/input[1]')




